package com.atan.weblog.admin.service;

import com.atan.weblog.admin.model.vo.article.*;
import com.atan.weblog.admin.model.vo.tag.DeleteTagReqVO;
import com.atan.weblog.common.utils.PageResponseUtil;
import com.atan.weblog.common.utils.ResponseUtil;

public interface AdminArticleService {
    /**
     * 发布文章
     * @param publishArticleReqVO
     * @return
     */
    ResponseUtil publishArticle(PublishArticleReqVO publishArticleReqVO);

    /**
     * 删除文章
     */
    ResponseUtil deleteArticle(DeleteArticleReqVO deleteArticleReqVO);

    /**
     * 分页查询文章接口
     * @param findArticlePageListReqVO
     * @return
     */
    ResponseUtil findArticlePageList(FindArticlePageListReqVO findArticlePageListReqVO);

    /**
     * 查询文章详情
     * @param findArticleDetailReqVO
     * @return
     */
    ResponseUtil findArticleDetail(FindArticleDetailReqVO findArticleDetailReqVO);

    /**
     * 更新文章
     * @param updateArticleReqVO
     * @return
     */
    ResponseUtil updateArticle(UpdateArticleReqVO updateArticleReqVO);
}
